package com.test.representation;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * Created by Jack on 6/30/2018.
 */
@Getter
@Setter
public class UserContactRepresentation implements Serializable {
    private Long id;
    private Long userId;
    private String name;
    private String mobile;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
